<?php

class OtherController extends MController
{
	public function actionAbout()
	{
		$tag = $this->getRequest('tag', 1);
		$about = $this->model('setting')->findByPk($tag);
		$res = array(
			'code' => 0,
			'msg' => '成功',
			'content' => $about['content']
		);
		echo json_encode($res);die;
	}
	
	public function actionFollowprice()
	{
		$follow_price = $this->model('other')->findByPk(1);
		$howmuchs = array(
			'p1' => $follow_price['follow_girl1'],
			'p3' => $follow_price['follow_girl2'],
			'p6' => $follow_price['follow_girl3'],
			'p12' => $follow_price['follow_girl4'],
			'p99' => $follow_price['follow_girl5']
		);
		$res = array(
			'code' => 0,
			'msg' => '成功',
			'howmuchs' => $howmuchs
		);
		echo json_encode($res);die;
	}
}